<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>CSS Test: 'linear-gradient' value with 'em' units</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
        <link rel="help" href="http://dev.w3.org/csswg/css3-images/#gradients" />
        <meta name="flags" content="" />
        <meta name="assert" content="Using 'em unit' values for 'linear-gradient' is supported." />
        <style type="text/css">
            #font1, #font2
            {
                background-image: linear-gradient(tan, tan 3em, white 3em, white 4em, blue 4em, blue);
                border: 1px solid black;
                display: inline-block;
                height: 8em;
                line-height: 1em;
                margin: 10px;
                width: 1em;
            }
            #font1 
            {
                font-family: arial;    
            }
            #font2
            {
                font-family: verdana;
                font-size: 30pt;
            }
        </style>
    </head>
    <body>
        <p>Test passes if the background of the word 'tan' is tan and covers the entire word and the background of the word 'blue' is blue and covers the entire word.</p>
        <div id="font1">
            t a n <p>b l u e</p>
        </div>
        <div id="font2">
            t a n <p>b l u e</p>
        </div>
    </body>
</html>
